# the minimum version of CMake.
cmake_minimum_required(VERSION 3.4.1)
project(GifSample)

SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "-rdynamic")
set(CMAKE_VERBOSE_MAKEFILE on)
set(can_use_assembler TRUE)
enable_language(ASM)

set(SOURCES)
file(GLOB_RECURSE SOURCES "*.c")
file(GLOB_RECURSE SOURCES "*.cpp")

#list(APPEND SOURCES memset.arm.S)

add_library(pl_droidsonroids_gif SHARED ${SOURCES})

set(LIBS)
list(APPEND LIBS
    image_pixelmap.z
    GLESv3
    hilog_ndk.z
    zgraphic.z
)

target_link_libraries(pl_droidsonroids_gif ${LIBS} )
